package edu.sctu.practice.class02.shuqiqi.test08;

/**
 * Created by admin on 2015/10/15.
 */
public class Main {
    public static void main(String[] args) {

        Vehicles vehicles = new Vehicles("宝马 :", "红色:");
        vehicles.run();
        vehicles.showInfo();

        Car car = new Car("奥迪 ", "蓝色", 23);
        car.showCar();
        Truck truck = new Truck("大众", "白色", 4);
        truck.showTruck();
    }
}
